﻿@model HotelMgr.Models.Room

@{
    ViewBag.Title = "Room -"+Model.RoomID;
}

<h2>@Model.RoomID</h2>
<p>
    <img alt="@Model.RoomID" src="@Url.Content("~"+Model.RoomUrl)"/>
</p>

<div id="room-details">
    <p>
        <em>类型:</em>
        @Model.RoomType.TypeName
    </p>
    <p>
        <em>状态:</em>
        @Model.RoomState.Name
    </p>
    <p>
        <em>价格:</em>
        @string.Format("{0:F}",Model.RoomPrice)
    </p>
    <p class="button">
        @Html.ActionLink("预定","AddToCart","ShoppingCart",new {id=Model.RoomID},"")
        
    </p>
</div>
